
import {
    Object3D,
    AxesHelper, GridHelper,
    PointLightHelper, SpotLightHelper,
} from 'three'

import { pointLight } from './TLight'
import { spotLight } from './TLight'

export const helperList: Object3D[] = []

//添加轴
const axesHelper: AxesHelper = new AxesHelper(500);
axesHelper.raycast = () => { }
//添加网格
const gridHelper: GridHelper = new GridHelper(500, 20, 0xff33ff, 0x0f3011);
gridHelper.raycast = () => { }

var pointLightHelper: PointLightHelper
    = new PointLightHelper(pointLight, pointLight.distance, pointLight.color);
pointLightHelper.raycast = () => { }
var spotLightHelper: SpotLightHelper
    = new SpotLightHelper(spotLight, spotLight.color);
spotLightHelper.raycast = () => { }

helperList.push(
    axesHelper, gridHelper,
    pointLightHelper, spotLightHelper,
);











